<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>第一次测试</title>
</head>
<body>
    <div id="aaa">
        {{name}}

    </div>
</body>
<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    let vue = new Vue({
        el:"#aaa",
        data:{
            name:""
        },
        created(){
            this.name="gangtiexia"
        },
        mounted(){
            this.name="lvjuren"
        }

    })
</script>
</html>